GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / ImportContext Class / ImportContext Constructor
The unit converter which converts measurement values.
The password request delegate which will be called if the document is protected.


In This Topic
ImportContext Constructor
In This Topic
Initializes a new instance of the ImportContext class.
Syntax
'Declaration
 
Public Function New( _
   Optional ByVal unitConverter As UnitConverter, _
   Optional ByVal passwordRequestDelegate As Func(Of String) _
)
 
'Usage
 
Dim unitConverter As UnitConverter
Dim passwordRequestDelegate As Func(Of String)
 
Dim instance As New ImportContext(unitConverter, passwordRequestDelegate)

Parameters

unitConverter
The unit converter which converts measurement values.
passwordRequestDelegate
The password request delegate which will be called if the document is protected.
See Also